/** * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai * Project: Hilmacorp.ai — Web Platform * File: app/[locale]/services/page.tsx * Description: Services page — the eight practice areas as anchored sections, plus engagement model */ import type { Metadata } from "next"; import Link from "next/link"; import Container from "@/components/Container"; import SectionHeading from "@/components/SectionHeading"; import { getMessages, isLocale, type Locale } from "@/lib/i18n"; export async function generateMetadata({ params, }: { params: Promise<{ locale: string }>; }): Promise { const { locale } = await params; if (!isLocale(locale)) return {}; const { meta } = getMessages(locale); return { title: { absolute: meta.services.title }, description: meta.services.description }; } export default async function ServicesPage({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; const typedLocale = locale as Locale; const { services, nav } = getMessages(typedLocale); return ( <>
{services.items.map((service, index) => (

{String(index + 1).padStart(2, "0")}

{service.title}

{service.description}

    {service.points.map((point) => (
  • {point}
  • ))}
))}
{/* Engagement model */}

{services.engagementTitle}

{services.engagementBody}

{nav.cta}
); }